package com.sinosoft.web;

import com.sinosoft.service.IServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author loujiang
 * @date 2020/12/22 11:31 上午
 * @NOTE:
 */
@RestController
@RequestMapping("/test")
public class TestController {

    @Autowired
    IServer server;
    @GetMapping("sayHi")
    public String sayHi()
    {
        return server.sayHi();
    }
}
